﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using CharacterTrailClient.Core;
using CharacterTrailLibrary.Impl;
using CharacterTrailLibrary.Interface;

namespace CharacterTrailClient
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            GlobalClass.RunTimeMode = true;
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //初始化应用
            AppInitializer.InitializeApp();
               var formMain = new FormMain();
            AppInitializer.MainForm = formMain;
            AppInitializer.InitializeRegisterThreadException();
            Application.Run(formMain);
        }
    }
}
